package com.base.configuration.service.base;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.base.common.persistent.dao.ConfigurationMapper;
import com.base.common.persistent.model.Configuration;

@Service("configurationService")
public class ConfigurationServiceImpl implements ConfigurationService {

	@Resource
	private ConfigurationMapper configurationMapper;

	@Override
	public int add(Configuration configuration) {
		return 0;
	}

	@Override
	public int delete(Configuration configuration) {
		return 0;
	}

	@Override
	public int update(Configuration configuration) {
		return 0;
	}

	@Override
	public Configuration query(Configuration configuration) {
		return configurationMapper.queryConfigurationByConfigKey(configuration);
	}
}
